#ifndef _UTIL_H
#define _UTIL_H

void outportb(unsigned short port, unsigned char value);
unsigned char inportb(unsigned short port);
unsigned short inportw(unsigned short port);
void *memcpy(void *dest, const void *src, int count);
void *memset(void *dest, char val, int count);
unsigned short *memsetw(unsigned short *dest, unsigned short val, int count);
int strlen(const char *str);
int strcmp(char *str1, char *str2);
char *strcpy(char *dest, const char *src);
char *strcat(char *dest, const char *src);
void panic(char *text);
void reboot();
void enable();
void disable();

#endif
